<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./js/jquery.min.js"></script>
	<script src="./js/layer/layer.js"></script>
</head>
<body>

<script>

layer.open({
	type:2,
	content:'http://www.baidu.com',
	title:'自定义标题',
	btn:'确定',
	maxmin:true,
	success:function(layero,index){
		console.log('层创建成功');
	},
});
</script>
	
</body>
</html>